package top.infopub.mgr.cap.dao;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.dto.cap.ContractPledgeDto;
import top.infopub.generic.GenericDao;
import top.infopub.mgr.cap.domain.ContractPledgeDomain;
import top.infopub.mgr.cap.vo.ContractPledgeVo;
import top.infopub.model.cap.ContractPledge;

@Repository
public interface ContractPledgeDao extends GenericDao<ContractPledge, String> {


    /**
     * 根据条件查询质检合同列表
     * @param contractPledgeVo
     * @return
     * @see
     */
    Page<ContractPledgeDomain> selectByDomainWhere(ContractPledgeVo contractPledgeVo);


    /**
     *
     * @param id
     * @return
     */
    ContractPledgeDto queryDetailById(@Param("id") String id);
}
